package com.societyGames.codeAlong.state
{
	import flash.events.Event;

	public class ChangeStateEvent extends Event
	{
		private var _stateEnum:StateEnum;
		private var _data:Object;

		public function ChangeStateEvent(type:String, stateEnum:StateEnum, data:Object = null)
		{
			super(type);
			this._stateEnum = stateEnum;
			this._data = data;
		}
		
		public function get stateEnum():StateEnum
		{
			return this._stateEnum;
		}
		
		public function get data():Object
		{
			return this._data;
		}
	}
}